﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain
{
    /// <summary>
    /// 企业信息表
    /// </summary>
    public class Business
    {
        [Key]
        public int BusinessId { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? BusinessName { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public string? BusinessNumber { get; set;}
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? BusinessDate { get; set;}
        /// <summary>
        /// 公司地址
        /// </summary>
        public string? BusinessAddress { get; set;}
        /// <summary>
        /// 公司简介
        /// </summary>
        public string? BusinessProfile { get; set;}
        /// <summary>
        /// 公司名称
        /// </summary>
        public string? CompanyName { get; set;}
        /// <summary>
        /// 养殖场
        /// </summary>
        public string? BusinessFarms { get; set;}
        /// <summary>
        /// 许可证号
        /// </summary>
        public string? BusinessHeard { get; set;}

        /// <summary>
        // 溯源表Id
        /// </summary>
        public int TraceabilityId { get; set; }
    }
}
